package com.loong.loong.hik.property.result.face;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
import lombok.Data;

/**
 * 按条件查询高频人员识别事件的返回参数
 * @author jinyiang
 * @date 2023/3/10 17:19
 */
@Data
@ApiModel("按条件查询高频人员识别事件的返回参数")
public class HighFrequencyEventResultVo {
	@ApiModelProperty(value = "返回状态码")
	private String code;

	@ApiModelProperty(value = "返回信息")
	private String msg;

	@ApiModelProperty(value = "返回数据")
	private HighFrequencyRecognitionEventData data;

	/**
	 * 返回数据实体类
	 */
	@Data
	@ApiModel("返回数据实体类")
	public static class HighFrequencyRecognitionEventData {
		@ApiModelProperty(value = "总数")
		private Integer total;

		@ApiModelProperty(value = "当前页码")
		private Integer pageNo;

		@ApiModelProperty(value = "每页数量")
		private Integer pageSize;

		@ApiModelProperty(value = "列表数据")
		private List<HighFrequencyRecognitionEventItem> list;

		/**
		 * 列表数据实体类
		 */
		@Data
		@ApiModel("列表数据实体类")
		public static class HighFrequencyRecognitionEventItem {
			@ApiModelProperty(value = "事件发生时间")
			private String eventTime;

			@ApiModelProperty(value = "监控点编号")
			private String cameraIndexcode;

			@ApiModelProperty(value = "监控点名称")
			private String cameraName;

			@ApiModelProperty(value = "发生次数")
			private Integer occurrences;

			@ApiModelProperty(value = "背景图URL")
			private String bkgUrl;

			@ApiModelProperty(value = "抓拍图URL")
			private String snapUrl;

		}
	}
}
